package com.siqi.hr.system.common.utils;

import com.siqi.hr.system.common.chan.FieldChan;
import com.siqi.hr.system.common.sql.STable;

public class TableRow {
	private STable sTable;
	private FieldChan fieldChan = new FieldChan();

	public STable getSTable() {
		return this.sTable;
	}

	public void setSTable(STable table) {
		this.sTable = table;
	}

	public TableRow(STable table) {
		this.sTable = table;
	}

	public StringBuilder fieldsToSqlString() {
		return this.fieldChan.toSqlString();
	}

	public FieldChan getFieldChan() {
		return this.fieldChan;
	}

	public void setFieldChan(FieldChan fieldChan) {
		this.fieldChan = fieldChan;
	}

	public String toString() {
		return this.fieldChan.toString();
	}
}
